package com.foryou.system.modules.wx.service.impl;

import com.foryou.system.modules.wx.dao.UserBackDao;
import com.foryou.system.modules.wx.entity.UserBackEntity;
import com.foryou.system.modules.wx.service.UserBackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Lee.
 */
@Service
public class UserBackServiceImpl implements UserBackService {

    @Autowired
    private UserBackDao userBackDao;

    @Override
    public List<UserBackEntity> queryList(Map<String, Object> map) {
        return userBackDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return userBackDao.queryTotal(map);
    }

    @Override
    public int remove(Long[] ids) {
        return userBackDao.remove(ids);
    }

    @Override
    public int delete(Long[] ids) {
        return userBackDao.delete(ids);
    }

    @Override
    public int update(Map<String, Object> map) {
        return userBackDao.update(map);
    }

    @Override
    public void save(String url) {
        userBackDao.save(url);
    }
}
